home *** CD-ROM | disk | FTP | other *** search
/ Light ROM 1 / LIGHT-ROM 1 (Amiga Library Services)(1994).iso / ffdisks / d899.lha / SmartPlay / InstallLibs < prev    next >
Text File  |  1993-07-28  |  2KB  |  123 lines

  1. .k ""
  2. FailAt 20
  3.  
  4. set bcol0 "*E[40m"
  5. set bcol2 "*E[42m"
  6. set bold  "*E[1m"
  7. set nbold "*E[22m"
  8.  
  9. ;-----------------------------------------------------------------------
  10. set libname "powerpacker.library"
  11. set libver  "35.347"
  12. set libnamet "$bold$libname$nbold"
  13. set libvert "$bold($libver)$nbold"
  14.  
  15. Echo "*n     $bcol2 Library Installation Script $bcol0*n"
  16.  
  17. Version >NIL: LIBS:$libname
  18.  
  19. If NOT ERROR
  20.     Echo "The following version of $libnamet is currently in LIBS:" 
  21.     Version LIBS:$libname
  22.     Echo " "
  23. Else
  24.     Echo "*nNo existing $libnamet in LIBS:*n"
  25. EndIf
  26.  
  27. Ask "Install $libnamet version: $libvert ?"
  28. If NOT WARN
  29.    Skip LIB2
  30. EndIf
  31.  
  32. Copy libs/$libname LIBS:$libname
  33. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  34.  
  35. ;-----------------------------------------------------------------------
  36. Lab LIB2
  37. Echo "*n*n"
  38.  
  39. set libname "reqtools.library"
  40. set libver  "38.1022"
  41. set libnamet "$bold$libname$nbold"
  42. set libvert "$bold($libver)$nbold"
  43.  
  44. Version >NIL: LIBS:$libname
  45.  
  46. If NOT ERROR
  47.     Echo "The following version of $libnamet is currently in LIBS:" 
  48.     Version LIBS:$libname
  49.     Echo " "
  50. Else
  51.     Echo "*nNo existing $libnamet in LIBS:*n"
  52. EndIf
  53.  
  54. Ask "Install $libnamet version: $libvert ?"
  55. If NOT WARN
  56.    Skip LIB3
  57. EndIf
  58.  
  59. Copy libs/$libname LIBS:$libname
  60. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  61.  
  62. ;-----------------------------------------------------------------------
  63. Lab LIB3
  64. Echo "*n*n"
  65.  
  66. set libname "xpkmaster.library"
  67. set libver  "2.4"
  68. set libnamet "$bold$libname$nbold"
  69. set libvert "$bold($libver)$nbold"
  70.  
  71. Version >NIL: LIBS:$libname
  72.  
  73. If NOT ERROR
  74.     Echo "The following version of $libnamet is currently in LIBS:" 
  75.     Version LIBS:$libname
  76.     Echo " "
  77. Else
  78.     Echo "*nNo existing $libnamet in LIBS:*n"
  79. EndIf
  80.  
  81. Ask "Install $libnamet version: $libvert ?"
  82. If NOT WARN
  83.    Skip LIB4
  84. EndIf
  85.  
  86. Copy libs/$libname LIBS:$libname
  87. Echo "*n$libnamet $libvert copied to your LIBS: directory."
  88.  
  89. ;-----------------------------------------------------------------------
  90. Lab LIB4
  91. Echo "*n*n"
  92.  
  93. Ask "Install SmartPlay libraries to libs:SmartPlay/ ?"
  94. If NOT WARN
  95.    Skip DONE
  96. EndIf
  97.  
  98. if exists libs:SmartPlay
  99.     skip COPYIT
  100. else
  101.     makedir libs:SmartPlay
  102. endif
  103.  
  104. Lab COPYIT
  105. Copy libs/SmartPlay LIBS:SmartPlay all clone
  106.  
  107. Lab DONE
  108. Echo "*nInstallation complete.*n"
  109.  
  110. unset libname
  111. unset libver
  112. unset libnamet
  113. unset libvert
  114. unset bcol0
  115. unset bcol2
  116.  
  117. Echo "*n*E[3mClick the close gadget to continue! *E[23m*n"
  118.  
  119. Wait 2
  120. EndCLI >NIL:
  121.  
  122.  
  123.